weird errors more debugging