fixing variables for ie and thinking through saving issue