interceptor: moved the loop iterating over the sysmap file to a do-while form