kill error messages when map entry is invalid