fix end bug fibonacci