Removed unneded token, fixed undefined variable.