fixed bug in Dashboard