read pkg if module is not specified