removed debug print

Signed-off-by: Kai Hermann <kai.uwe.hermann@gmail.com>
renamed safeguard

Signed-off-by: Kai Hermann <kai.uwe.hermann@gmail.com>