fixed initialization issues with dbn