bugfix safe print mod