Fixed nonexistant variable