Remove undefined var