Fix for overflowing error message