bugfixes in profile