fixed an issue with spaces being used rather than tabs