fix bug to validate