fix bug put_photo and put_wall_post