replaced tab by 4 spaces , and remove trailing spaces