added drop if for triggers