useless defs are cleaned