fixes for boundary event transformation