fixed bug of .enc header