fix the_loop issues -- maybe