delete the active code