updated posix handler