[fix] the name of the variable (#5507)

Wrong var name