bugfix for IE "permission denied" exception