remove unnecssary functions

haha, forgot to remove these global functions  :crying_cat_face: