remove repeated fibonacci function