small error log, unnecessary string allocation