validation added for chrome