APLANATS-561: saving sec. fix