fix on errno