profile bugfixes