Fix profile error