fixing fibonacci sequence