fixed bug with recursive fixPath in profile loader