tweak to validation