fix category dao