remove bug code