try debugging in the right place