minor validation