prevent notice "Undefined variable"