removing the end from flickr controller'