fixing drop down and relation