fix a -Wformat
patterns WIP