modity code style of connection.h