Fix log action order in generaloption