remove unsed function