fix for simplex