Fixed security warning in commands.c