Added explicit casting for  Framework 3.5  compat.
Removed needless spaces