simple cosmetic fixes for cookie to work