prevent crash when a `returns` tag does not have a value (#751)