bug fixed in profile query
Merge origin/master