added expr validation