platforms unification, fix many bugs,priotect configs,passwds,configs