Minor Bugfixes

normalizing profiles and fixing a few things