Fix warning in commands.js