check existing package