Fixed drop down menu. Made more robust.