fix package/ and target/ targets