fixed to validate