fix format date
fix bug with path