fix some cookie problem

Signed-off-by: xiehuc <xiehuc@gmail.com>
a new cookie fix picture problem #586

Signed-off-by: xiehuc <xiehuc@gmail.com>