return empty dictionary if error occurs