fix a few things
some fixes, works without a default profile