modified and fixed cross browser on ie