replaced problematic lines for IE