Adding data check to prevent warning