fix renamed file counting