modify if check for ie 8
add setting