fixed profile pic bug for ios