removing debug alert, and convert tabs to spaces.