some changes for package application.