remove unneeded instruction