correct typing error