change dashboard class to deal with custum one