Fix attributes on select field