remove unlreated code