fix bug in dysco dao