delete some unneeded functions in module.functions, replace WB_URL, WB_PATH