fix validation on set()
0.4.0