part of profiles ajax fix