restoring linux compatibility