Fix firefox issue