fixed missing trigger problem