fix for prepack