fix caps for entity