fix open moved into method