Clean up prints and fix len problem