simplified a trick to make the badarg error "findable" in message boxes