more profile api cleanup