config and segementation fault