fixing and enhancing the BDDL validations