fixed getNumFiles and isOKcode