added debug message for phantomControl