removed some stdout debug messages