fix comparaison date
fix optinos bug
3.0.1