replace spaces with abs for indentation