fix firefox only for firefox
add slice logging