manually trail white spaces