fix issues with fx callbacks