remove unused/debug code