fixed webim bugs.