Fixed serial parameters setting