fixed fetch method nil error