fixed I/O Handlers