fix unix calls