fixing some mistakes with packages