reverting version and better error message