typing error fixing