fixed issue 1250, selectbox issues