Add the default value for error handler of invalid key