Some inconsistency fixed with SQL data