fix possible notice due to wrong argument types in some validators
closes #946