return empty arrays instead of nil