fix empty expires field