fix warning in and convert spaces to tabs