Fix some validations in state name (SFA Tool for windows)