profiles controller fixed