table and select box fixes