validation fixed