Tried to get the checkPathsEqual to work, still does not