validation added for windows
validation added for windows