remove unused category functions