remove extra commands