remove array workaround after WPAI bug fix