fixed bad field references