fix malformed output since stack should begin with message