update code to comply with new superstring policy

Signed-off-by: Jean Privat <jean@pryen.org>