when show stack was disabled was still showing stack. error handler didn't detect req.REST at times.