first non-repeated char and fix last commit