Changes for IE compatibility