fix format error on return