Fixed location bug in dashboard