caught potential bug in print