task: remove unused code