Potential fix for openfirst not working properly

- issue #22