add checker for configs
small fixes