fixed a bug that could lead to not detecting the proper runner