now check server date for expire rule
clean variables in the loop for assets
better taking care of missing seconds