really fix the printed interval statement; didn't set the separator