Fixed issue where editing profile will delete the user's image