check on sourceRef, so it won't convert to bytes without needing to