explicitly connect xrf detector
fix bugs for xafs scan setup