Fixed an issue where the phantomPath was changed to binary.