remove unused code, causing build break