Fixed typo in check_options