finish damonize and fix num