remove useless print statement
fix silly logical errors caused by a copy/paste