Fix error "undefined variable """