possible fix for select box being empty