bug fix for optimised cascade