encoding and hide debug!