[GridViewEntities] fix IllegalArgumentException