protect from encoding