make package base correctly