Fixed bad var name error