changes on posix version