Fix initialize `previous_stack`