re-write cookie handle
how new cookie code make avbot working perfectly