trigger bugs

Fixed a couple trigger bugs