fixed Ibf construction on the server side