v1.1 fixed length issue. debug values still print to screen