fix retaking pic bug