fixed warning of use {{ in loops