Fixed small regression and removed logging