fix lib hook path