Works a lot better with malformed formats