remove extraneous command