fix compile error, (1) change ".NetFramwork 4.5" to 4.0, (2) remove some typo