finish dao layer