Errors and Optionals checks