get loop by id, select menu bug fixed