added error box for missing data