fix for view-entity (0)