Removing trailing white spaces