fixed some untested lines