fixed empty expires bug