fix openAction behavior