parse connection params
fix syntax error