fix return url as object