fixed typo in cloneOrFetch function