fix bug with example app

@xxgreg amazing this sample worked just fine with the bug it had in the print statements