fixed some more debugging