switches to use native open