fixed output and removed loggers