fix trampoline bug