fixed #66

also commented out logging, not working for some reason...