Facebook. Validatio not working properly