add validate html code and package name