some preparations in the bfx api