fix firefox svg size, fix library issue