fix build error
moved single int definition