Why my option list is not working