Minor fixes

Remove debugging code.