fixes NoSuchMethod exception for inject in run_robot