updates to validators to handle boolean values