fix area judgement error

and msg send error