Wrong variable name was used