update and fix some bugs on safari