remove debug output
Fix compilation with stricter flags