Fixed the bug with the dropdown menu