annoying debug printouts fixed