fixed choose source logic for sample03