typing error modified