fixed bug in net45