fix thumbnail.url to be called as a function