correcting packages used