Fix wrong length for format string