fixed entities not inheriting properly