protect against node blowing up on bad requests