different error messages in preview tab