fixed ie8 bugs.