WFLY-3478 fixing mask verification