fix format overflow error