cleanup
fix showpairdict