add validation in join_ops