bug fixed for IE & FF