performed some clean up