fixed dao.read call. read was expecting an Integer