remove obsolete instructions