fixed bug on return value format(Invalid type in JSON write (NSURL))