tweaks for POSIX