fixed directory listening
converted tabspaces to spaces