fix skipping
debugging controlled with global var