weblib: fix delete and imprt