remove usage of deprecated variable