change array syntax to old style