[+] some bug in outputs writing were fixed