Fix possible bugs for players with . in names. Fix permissions purge