fixed IE compatibility problem