fix validation warning