misc
rewritten some auxilary packages