tried some more debugging