fix open with error