fixed issues with open vs. init