fixing prev