A numerical study on the non-smooth solutions of the nonlinear weakly singular fractional integro-differential equations