make plx smarter about detecting source names