fixing bug for dashboard
remove unused code
Merge pull request #4 from marius-miron/master

fixing bug for dashboard