Fixed name cookie being saved improperly