finialize configuration