Fixes zas connection problems