Add a alert() for error in the option object