Fix custom base in IE