encode usage changed