fixed eventcommandmap incorrectly triggering commands twice