photo preview on edit user fix