Wrong variable name fixed