fixed getpackagesource and hangs in registerpackagesource
started swidtag support