Remove unnecessary copy operation
Remove debugging left-overs