fixed some error messages / docs