Fixed train_spec with allow message