fix bad cloud parsing (and crash)