a little modification about package building