remove unnecessary command