fixed up variables