invalid command fix