init&pkg duplication check