Optimized URL helper, fixed bug with fetching several times