Fixing catch ReflectionException