Fixed the variable scope name