Permalink expiration check close #251
CS fixing