typing error and formating