Cleanup duplicate resource entry