remove more redundant commands