Form validation error fixed