fixes on ie11 (ref #298)