fix trail whitspace