Fix error in fetch setup