fixes #131 - fix 400 on initial connect