spaces to tabs and fix a range violation issue