fixed IE not being able to deal with hidden elements