aki's suggested fix to profile to make it work in default mode. it worked for me