solve over flow problem