Redirect Bug Fix

Fixed a incorrect reference to class variable