error fix
additional logs
post optimizer is implemented