Properly close For tag