fix unused variable to not be a reference & default to an array per bao standards