fixed IE9 bugs with the path