fixed profiles display bug and simplified profiles controller