Bug with directory changed to date