error handling and responsive enabling