remove unused func, libs ftw