Version 1.0
fixed local connection bug