ref #12 fix build