fix to accomodate isSave parameter in feed_forward