Fix bad commands