more fixes to profile builder