Pacth by Piranout, changed from c# 4.5 to c# 4.0