fix bug
- smax
- prob3