error handler
removed log
log name date