update version and fix $ refer