Fixed bad variable declaration