added hanling of characters with unacceptable out state, e.g. '@'