fixed IE compatibility issues