bugfix in command file