Removed undefined var