change use local variable to global one for show/print/savePrint projector response function