fix bug on admin dashboard