Set expires correctly