fix overflow bug
fix bug