Fix incorrect signature mask