minor debugging issues