Small error log fixes