Fix selectbox for attributes