refactor sys-depend.el