Fixed saveAll funcion!!