add dates from settings in index.php
fix conflict