fixing variables