Slight improvement on exception rendering