fix(api): removes dead code