fix name of entity table