Fixing problem with forward.
Merge pull request #828 from renanigt/fixingForward

Fixing problem with forward.