bugfix profiles controller