allow no year limit
fix php 5.4
caching