fixed bug with paths and dates