fixed compile issue in fabric-client