fix SPACE END OF LINE (need compile and test)