Fix profile, fixes #281