Better error message, fixes input issue.