Removing redundant spaces.
Fixing bug in getelementptr.

The starting index must be 1 instead of 0.