fix css and cookie set