fix method signature for event file which caused strict error on 5.4