fix for wrong cast in method.invoke() (reflections)
should be Object[], not Object