refinement: get local ip automaticly