fix build error #625

please review #625