fix invocation of reflections method