fix Firefox issues