fix deftype clear-locals