fixed Command.compile