Strip some whitespaces.