fixed error message, thanks Anthony