prevent undefined variable errors.