variable name corrections and tabs to spaces