fix argument in callCoreCommand()