Use tabs for indentation, spaces for lining things up to avoid this happening.