fixed directory iterations