Fix how open was being called