removed bad profile code to unused.profile