Removed undefined variable