fix version extraction in greeting