diff --git a/Procfile b/Procfile
index 1a4145cc7d3b5a7d45a1a748d030cfc2c8553689..66ca562f1316bd44456d210f9eaf5f2266569d13 100644
--- a/Procfile
+++ b/Procfile
@@ -1,2 +1,2 @@
 web: bundle exec unicorn_rails -p $PORT
-worker: bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,common,default,gitolite
+worker: bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,common,default,gitlab_shell
diff --git a/app/views/events/event/_note.html.haml b/app/views/events/event/_note.html.haml
index ac380a9a5e384b99bd2d5c1863e99a3636fad21a..20c3b927067938c151349a1d8fb37fe7cd8c2054 100644
--- a/app/views/events/event/_note.html.haml
+++ b/app/views/events/event/_note.html.haml
@@ -25,9 +25,10 @@
   %span.event-note
     = markdown truncate(event.target.note, length: 70)
     - note = event.target
-    = link_to note.attachment.url, target: "_blank", class: 'note-file-attach' do
-      - if note.attachment.image?
-        = image_tag note.attachment.url, class: 'note-image-attach'
-      - else
-        %i.icon-paper-clip
-        = note.attachment_identifier
+    - if note.attachment.url
+      = link_to note.attachment.url, target: "_blank", class: 'note-file-attach' do
+        - if note.attachment.image?
+          = image_tag note.attachment.url, class: 'note-image-attach'
+        - else
+          %i.icon-paper-clip
+          = note.attachment_identifier