fix one immediate bug
this is probably necessary too
debug prints