fixing undesirable feature of dropdown menu and submitting it to the server