fix trailling spaces and identation