fir crash in flip door routine if param2 is nil