fix lower name bug, fix parameters use in case of completion event only
is_in_state test and region separator error check in region