Fix bug when package ha snot the right case