add selected attr to select field, fix customer view