fix  wrong behaviour in the list selection menu