added transform validation to pubsub