fix bug on buildPack