correct the mistakes