Delete old reference words on import