fix bug on new gif upload. fix url redirect in controller