REmove undefined function