Fix some things about profiles