[refac] remove unused functions