Profile template bugfix