fix EMTSTACKTOP passing