add missing arguments to (some) debug statemens