cookie name bug fixing