fixed debug require so it uses correct version