Bugfix for user profile dialog crash