If there is a 'SMV0' tag, but no 'fmt' tag, it is possible that 'st' got used as NULL. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>