fix multiple char bug