fix another error, better debugging