i don't want to switch to sourceMode if it's not necessary, this functionality is tested elsewhere