version 0.8
fix resize bug
better coding