stop using undefined function