fix package names with a string replace