fixing create Profile sample