fixing discrepencies