fixing bugs in repo_creation date script