Fix log action order in generaloption

just `close` it?