Effect of perturbation in the numerical solution of fractional differential equations