fix safari/firefox css bug