Small corrections in dao impl

Small corrections in dao implementation layer