fixed problem with packages