Fix for figuring out the prefix.