modify cookied generate style