Improve IE compatibility