IE compatability fix