fix typo
add helpful debug info