dashboard page and error fix