bug with subtypes and loading records