Fixing build
Removing some old debugging stuff