removing by reference vars in admin module