char if correction 2