fixed typos which prevented select boxes from working