working to fix the DOA error