it should return empty array not hash