fix empty forward bug