fixed: getURL on non object