fixed error in variable