fixed dir event construction