fixing inconsistency problem