fixing issue with some select fields.