[OE-3620] changed spaces to tabs and fixed indentation (old code).