fixed create profile queries