fix firefox path bugs :smile: