figure out why #fetch works in console but not in method