fixed crash when package name content special characters