Added error if input is missconfigured