- some updates to check for valid config