fixing the array() issue for compat 5.3