refine code style
refine create_connection code style