Check if expired and some trimming