remove unused def