fix array count syncing.
fix parms that were not syncing.