handle also exceptions and return default value