Fixed getSourceURL and getTargetURL methods