change error for not exist to return empty array instead