changed stackhandler