init some config