fix bug of check_meshed