null error fix in profile picture