fix renaming and PIL detecting