[FIX] Missing end() call