fixed missing relations in model classes