fix ie8 issue with map