fix minor missed errors regarding package building