add checking for values in editors