Bug fixes with inputParser. errorlog refined