fixed validationCheck in component initialisation