fix the scaling problem in WINDOWS 8;
clean up;