fix for indefinite looping packages