initializing options on edit page