remove lib init1 and init2, include them in function.php