rm undefiend variable in awaiting controller