results template; fix subsource bug