Minor debugging, here I fixed the dinning and flex so that they worked.