error logging improved