removed trailing white spaces