get profile correctly