fix for after doing a refresh
remove debugging
more careful intervals
debug restore