solve typing error