changes to fix a bug on creating/editing test_profile; rake to dev:reset;