fix incomplete removal of unused functionality