wrong type for bsp_sync()