prevent warning messages for blank model