fixed redirect_to gallery_url