fix for initial state of EntityClass