fix draw shap bugs