Encrypt Bug Fix