remove debug logs, spurious (but harmless AFAICT) single quote and space