corrected bug on data display