stop at the first non source element Closes #195