Fixed build error (for-of)