Bug fix encryption header