Dropdown menu is logging to console