fixed untracked files
Fixed one crash bug on rotate