fixed the spaces in the first split, somewhat ugly