fix for POSIX