exctract common config