r24290: fix debug statments to match function name