fixed a bug for IE6