fixed key names and spaces converted to tabs