use nobuffer sunroutine works ok