correct some entity error