Fixed 1 bugs in fprintf...sleeping