bug fix for marking select as invalid in chrome