fixed for ie8
branch merge