change the way how options for selects get fetched