update referer version and fix bugs