remove obsolete commands