forgot to remove debugging code

which causes bugs