Fix the issue of set log cookie
update flibs to 0.6.5