fix eslitn errors