fixed the discrepancies