fix build error for servant's spec