Fixed ProfileController bug