fixed a bug which caused wrong repo count and deleted accidentally commited backup files