check for restricted fields before iterating