fixed configs and config validation