fixed loop vars