fixed bug in dashboard where input was determined on data length