fix https://github.com/ecomfe/edp/issues/222