Minor - fixing detecting method.