foreach binding fixed