fix bug introduced in commit 5ede3091, source viewer was wrong