fixed open errno