Deleted unecessary code in middleman